//
//  HECartFooterCell.m
//  HealthFamily
//
//  Created by 吴欧 on 2020/10/26.
//  Copyright © 2020 honglutec. All rights reserved.
//

#import "HECartFooterCell.h"

@interface HECartFooterCell ()

@property (nonatomic, strong) UIView *warp;

@end

@implementation HECartFooterCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
    if (self=[super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        
        self.backgroundColor = [UIColor clearColor];
        self.selectionStyle = UITableViewCellSelectionStyleNone;
        [self initUI];
    }
    return self;;
}

- (void)initUI {
    
    UIView *warp = [UIView new];
    _warp= warp;
    [self.contentView addSubview:warp];
    
    [warp mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.contentView);
        make.left.equalTo(self.contentView).mas_offset(15);
        make.right.equalTo(self.contentView).mas_offset(-15);
        make.bottom.equalTo(self.contentView).mas_offset(-10);
    }];
    
    _warp.backgroundColor = KWhiteColor;
    [warp hg_setCornerOnBottomWithRadius:10.0f];

}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
